<ng-content></ng-content>
<ng-template
  #overlay="cdkConnectedOverlay"
  cdkConnectedOverlay
  apesConnectedOverlay
  [cdkConnectedOverlayOrigin]="origin"
  [cdkConnectedOverlayHasBackdrop]="_hasBackdrop"
  (backdropClick)="hide()"
  (detach)="hide()"
  (positionChange)="onPositionChange($event)"
  [cdkConnectedOverlayPositions]="_positions"
  [cdkConnectedOverlayOpen]="_visible">
  <div class="apes-popover"
       [ngClass]="_classMap"
       [ngStyle]="apesOverlayStyle"
       [apesNoAnimation]="noAnimation?.apesNoAnimation"
       [@zoomBigMotion]="'active'">
    <div class="apes-popover-content">
      <div class="apes-popover-arrow"></div>
      <div class="apes-popover-inner" role="tooltip">
        <div>
          <div class="apes-popover-title" *ngIf="apesTitle">
            <ng-container *apesStringTemplateOutlet="apesTitle">{{ apesTitle }}</ng-container>
          </div>
          <div class="apes-popover-inner-content">
            <ng-container *apesStringTemplateOutlet="apesContent">{{ apesContent }}</ng-container>
          </div>
        </div>
      </div>
    </div>
  </div>
</ng-template>
